package com.ruoyi.project.system.relevantimg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 相关图片对象 relevant_img
 * 
 * @author LCL
 * @date 2020-12-10
 */
public class RelevantImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private String id;

    /** 图片访问路径 */
    @Excel(name = "图片访问路径")
    private String imgUrl;

    /** 相关资源ID */
    @Excel(name = "相关资源ID")
    private String relId;

    /** 类型 0：合作伙伴 1：检验报告 */
    @Excel(name = "类型 0：合作伙伴 1：检验报告")
    private Integer type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setRelId(String relId) 
    {
        this.relId = relId;
    }

    public String getRelId() 
    {
        return relId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("relId", getRelId())
            .append("type", getType())
            .append("status", getStatus())
            .append("sort", getSort())
            .toString();
    }
}
